package redirector.impl;

import dao.HibernateClienteDao;
import entity.RemitoEntity;

public class RemitoSRV {
	private static HibernateClienteDao dao;
	static {
		dao = HibernateClienteDao.getInstancia();
		
	}
	public int obtenerNumeroRemito() {
		try{
			return dao.obtenerNumeroRemito();
		}catch(Exception e){
			
		}
		return -1;
	}
	public void guardarRemito(RemitoEntity remito) {
		try{
			dao.guardarRemito(remito);
		}catch(Exception e){
			
		}
		
	}
	

}
